Make the newly added test a bit more robust
authorMatthias Clasen <mclasen@redhat.com>
Fri, 3 May 2019 02:15:07 +0000 (02:15 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 3 May 2019 02:15:07 +0000 (02:15 +0000)
Follow the style of the other tests and provide
style for both the test and ref.

testsuite/reftests/label-fonts.css
testsuite/reftests/label-fonts.ref.ui
testsuite/reftests/label-fonts.ui

index aa44addd77d26cda2171bfa0a5101b116f30918e..2a250e03cec1f30e5e88d9c4e5995b2088ee3956 100644 (file)
@@ -1,3 +1,7 @@
-* {
+#label {
   font-family: nonexisting,Sans;
 }
+
+#reference {
+  font-family: Sans;
+}
index b00757eeb8388bc59e0decf34a0bef7238b42b57..55a881b7c796148aac9b316525fb23246f8a924c 100644 (file)
@@ -4,6 +4,7 @@
     <property name="type">popup</property>
     <child>
       <object class="GtkLabel" id="label3">
+        <property name="name">reference</property>
         <property name="label" translatable="yes">abcdefg</property>
       </object>
     </child>
index b00757eeb8388bc59e0decf34a0bef7238b42b57..a7d468885ff34f268f0241416b6aca383f5872ad 100644 (file)
@@ -4,6 +4,7 @@
     <property name="type">popup</property>
     <child>
       <object class="GtkLabel" id="label3">
+        <property name="name">label</property>
         <property name="label" translatable="yes">abcdefg</property>
       </object>
     </child>